/*
 * @Author: wuzhouhai wzh200x@126.com
 * @Date: 2024-05-16 15:17:34
 * @LastEditors: wuzhouhai wzh200x@126.com
 * @LastEditTime: 2024-05-16 15:17:51
 * @FilePath: \phoenix-client-damo\assets\src\phoenix_client_sdk\utils\Utils.Array.ts
 * @Description: 
 */
export class UtilsArray {
    public static concatUint8Arrays(array1: Uint8Array, array2: Uint8Array): Uint8Array {
        const combined = new Uint8Array(array1.length + array2.length);
        combined.set(array1, 0);
        combined.set(array2, array1.length);
        return combined;
    }
}